<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="utf-8">
    <title>发送电报</title>
    <link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
    <script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="commission.js"></script>
</head>
<body>
<?php
session_start();
$name = $_SESSION['name'];
$id = $_SESSION['userid'];
?>
<nav class="navbar navbar-inverse" role="navigation" style="margin-bottom: 0">
    <div class="container-fluid">
    <div class="navbar-header">
      <span class="navbar-brand">The Commission Program</span>
    </div>

    <div class="collapse navbar-collapse">
        <ul class="nav navbar-nav navbar-right" style="padding-right: 3%">
            <li><a href=""> 编号:</a></li>
            <li><a href=""><?php echo $id ?></a></li>
        </ul>
        <ul class="nav navbar-nav navbar-right" style="padding-right: 5%">
            <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php echo $name ?><span class="caret"></span></a>
                <ul class="dropdown-menu" role="menu">
                    <li><a href="commission.html">退出</a></li>
                </ul>
            </li>
        </ul>
    </div>
    </div>
</nav>


<div class="container-fluid">
    <div id="menu" class="list-group" style="background-color:#EEEEEE;width:16%;height:650px;float:left;">
        <ul class="list-group" style="width: 160px;margin:10em 15%;">
            <a href="submit.php"> <span class="list-group-item active" style="text-align:center;">发送电报</span></a>
            <a href="telegram.php"> <span class="list-group-item" style="text-align:center;margin-top:2em;">查询历史电报</span></a>
            <a href="report.php"> <span class="list-group-item" style="text-align:center;margin-top:2em;">获取业绩报告</span></a>
            <a href="#"> <span class="list-group-item" style="text-align:center;margin-top:2em;">其他待定</span></a>
        </ul>
    </div>
    <div id="content" style="background-color:#787878;height:650px;width:2px;float:left;"></div>
    <div id="content" class="row" style="margin: 6% 4% 1%;width:60%;float:left;">
        <form action="submit_list.php" method="post" onsubmit="return submitlist()">
            <div class="col-lg-4" style="margin-left:10%;">
                <div class="input-group">
                    <span class="input-group-btn">
                        <button class="btn btn-default" type="button">城市</button>
                    </span>
                    <input type="text" class="form-control" id="city" name="city" required>
                 </div>
            </div>
            <div class="col-lg-4" style="margin:0 10% 3%;">
                <div class="input-group">
                    <span class="input-group-btn">
                        <button class="btn btn-default" type="button">日期</button>
                    </span>
                    <input type="date" class="form-control" id="date" name="date" required>
                </div>
            </div>
            <div style="float:left;background-color:#787878;height:2px;width: 95%;margin-left: 2%"></div>
            <div class="row" style="margin: 2% 2% 2%;width:95%;height:40px;float:left;">
                <div class="col-md-2" style="margin-left:11%;">
                    <div class="text">
                        <h4> lock</h4>
                     </div>
                </div>
                <div class="col-md-2" style="margin-left:16%;">
                    <div class="text">
                        <h4> stock</h4>
                    </div>
                </div>
                <div class="col-md-2" style="margin-left:16%;">
                    <div class="text">
                        <h4> barrel</h4>
                    </div>
                </div>
            </div>
            <div class="row" style="margin-left:1%;height:50px;width:100%;float:left;">
                <div class="col-md-3" style="margin-left:3%;">
                    <input type="number" class="form-control" placeholder="发送-1则生成报告" id="lock" name="lock">
                </div>
                <div class="col-md-3" style="margin-left:7%;">
                    <input type="number" class="form-control" id="stock" name="stock">
                </div>
                <div class="col-md-3" style="margin-left:6%;">
                    <input type="number" class="form-control" id="barrel" name="barrel">
                </div>
                <button type="submit" class="btn btn-primary" style="width:100px;margin:6% 41%"> 发送
                </button>
            </div>
        </form>
    </div>
</div>
</body>
</html>